var app = angular.module('myapp',['ui.router','ui.bootstrap']);
app.config(['$stateProvider','$urlRouterProvider',function($stateProvider,$urlRouterProvider){
	$urlRouterProvider.otherwise('/home');
	$stateProvider.state('home',{
		url:'/home',
		templateUrl:'../teacherViews/homeView.html',
		controller:'homeViewController'
	}).state('homeWork',{
		url:'/homeWork',
		templateUrl:'../teacherViews/tipView.html',
		controller:'tipViewController'
	}).state('inform',{
		url:'/inform',
		templateUrl:'../teacherViews/informView.html',
		controller:'informViewController'
	}).state('me',{
		url:'/me',
		templateUrl:'../teacherViews/meView.html',
		controller:'meViewController'
	})
}])
